import { seteiId } from '../../utils/auth'


const state = {
  id: ''
};
//同步
const mutations = {
  SET_EIID: (state, value) => {
    state.id = value
  },
};
//异步
const actions = {
  seteiId({ commit }, value) {
    commit('SET_EIID', value)
    seteiId(value)
  }
};
export default {
  namespaced: true,
  state,
  mutations,
  actions
};
